From e5b93557e2ce339163444a214d31b71b4f842be8 Mon Sep 17 00:00:00 2001 From: Drew Parsons Date: Mon, 26 Jan 2026 11:58:48 +0100 Subject: [PATCH] add support for IOADIOS2 (used by paraview) 64-bit arches only Build-Depends: libadios2-mpi-c++-dev [amd64 arm64 mips64el ppc64el riscv64 s390x loong64 ppc64 sparc64] --- debian/changelog | 3 +++ debian/control | 1 + debian/rules | 6 ++++++ 3 files changed, 10 insertions(+) diff --git a/debian/changelog b/debian/changelog index 45e484bf8..271000b6a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,9 @@ vtk9 (9.5.2+dfsg3-1) UNRELEASED; urgency=medium (use IOParallelXdmf3 for IOXdmf3) - enable VTK::xmdf3 (ThirdParty/xdmf3). Drop from Files-Excluded in debian/copyright. Bump repacked version to dfsg3 to add xdmf3 + * add support for IOADIOS2 (used by paraview). 64-bit arches only. + Build-Depends: libadios2-mpi-c++-dev [amd64 arm64 mips64el ppc64el + riscv64 s390x loong64 ppc64 sparc64] -- Drew Parsons Sun, 25 Jan 2026 21:24:31 +0100 diff --git a/debian/control b/debian/control index 43c4f29fd..6ece32a22 100644 --- a/debian/control +++ b/debian/control @@ -20,6 +20,7 @@ Build-Depends: dpkg-dev (>= 1.22.5), dh-sequence-javahelper, libalglib-dev, javahelper, + libadios2-mpi-c++-dev [amd64 arm64 mips64el ppc64el riscv64 s390x loong64 ppc64 sparc64], libavcodec-dev, libavformat-dev, libavutil-dev, diff --git a/debian/rules b/debian/rules index 8198fe1ac..a4574d89a 100755 --- a/debian/rules +++ b/debian/rules @@ -101,6 +101,12 @@ extra_flags += \ -DVTK_MODULE_ENABLE_VTK_RenderingParallel=WANT \ -DVTK_MODULE_ENABLE_VTK_RenderingVolumeAMR=WANT +# Adios2 is only available on 64-bit systems +ifneq ($(DEB_HOST_ARCH_BITS),32) +extra_flags += -DVTK_MODULE_ENABLE_VTK_IOADIOS2=WANT \ + -DCMAKE_PREFIX_PATH="$(CMAKE_PREFIX_PATH);/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/adios2/mpi" +endif + override_dh_auto_configure: dh_auto_configure -- $(extra_flags) -- 2.30.2